package com.aaa.service.impl.comboboxserviceimpl;


import com.aaa.common.domain.comboboxquery.PayMethodInfo;

import com.aaa.mapper.comboboxmapper.PayMethodInfoMapper;
import com.aaa.service.comboboxservice.PayMethodQueryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: 宋文森
 * @Date: 2021/01/27/17:29
 * @Description: 支付方式服务实现类
 */
@Service
public class PayMethodQueryServiceImpl extends ServiceImpl<PayMethodInfoMapper, PayMethodInfo> implements PayMethodQueryService {

    @Autowired
    PayMethodInfoMapper mapper;

    public List<PayMethodInfo> listPayMethods() {

        List<PayMethodInfo> payMethodInfos = mapper.selectList(null);
        return payMethodInfos;

    }
}
